{% extends "base_public.html" %}

{% block title %}NTU Open Course Ware (NTUOCW){% endblock %}

{% block bodyContent %}

    <div id="primaryContentContainer">
        <div id="primaryContent">
            <h2>Details for Lecture: "{{ object.lectureTopic|escape }}"</h2>

            {% if error_message %}
                <p><strong>{{ error_message }}</strong></p>
            {% endif %}

            {% if object %}
            <b>Description: </b>{{ object.lectureDescription|escape }}<br> 
            <b>Topic: </b>{{ object.lectureTopic|escape }}<br>  
            <a href="{{ object.videoURL|escape }}">Video Lecture</a><br>              
            {% else %}
                  <p>No lecture details found.</p>
            {% endif %}
 
            </div>
        </div>

{% endblock %}

